using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Musicman.Entities;
using Musicman.Business;


    public partial class Default_master : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["UserID"] != null && HttpContext.Current.User.Identity.IsAuthenticated)
            {
                Musicman.Entities.User user = DataManager.Instance.GetUserInfo((long)Session["UserID"]);
                this.Label1.Text = String.Format("Logged in as {0} {1}", user.Firstname, user.Lastname);
            }
        }
    }